<!--
 * @Author: wurangkun
 * @Date: 2024-01-26 16:20:20
 * @LastEditTime: 2024-01-29 15:25:01
 * @LastEditors: wurangkun
 * @FilePath: \vue-template\pages\home\index.vue
 * @Description: 
-->
<!--
 * @Author: wurangkun
 * @Date: 2024-01-25 11:33:30
 * @FilePath: \vue-template\pages\home\index.vue
 * @Description: 
-->
<script lang="ts" setup>
const { userInfo,cookie } = storeToRefs(useUserInfo());
definePageMeta({
  title: '首页',
})

</script>

<template>
  <div class="flex items-end">
    {{ cookie }}
    <ElButton type="primary" @click="cookie = { token: '1', userName: '2', mobile: '3' }">主要按钮</ElButton>
  </div>
</template>